ngl: Reduce vertex storage
authorMatthias Clasen <mclasen@redhat.com>
Wed, 7 Apr 2021 02:24:37 +0000 (22:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 8 Apr 2021 01:30:43 +0000 (21:30 -0400)
commitae7f52d3019957d4876d0e802446020368953ca9
treee697382bcb102afb345efb64b204be325f128d3b
parent8b1fcb58e84341913c6fc0d2d8414688aeae26af
ngl: Reduce vertex storage

We only have one shader that uses the color2 attribute,
and it doesn't use the uv attribute, so save vertex
memory by putting those in the same space.

This reduce the per vertex space from 32 to 24 bytes.
gsk/ngl/gsknglrenderjob.c
gsk/ngl/gskngltypesprivate.h